/*
constexpr int MaxSize = 50;
constexpr auto InitSize = 50;
#define ElemType int

typedef struct {
	ElemType data[MaxSize];
	int length;
}SqList;

// define operate
void InitSqList(SqList& L) {
	L.length = 0;
}

// Insert
bool SqListInsert(SqList& L, int i, ElemType e) {
	if (L.length == MaxSize) {
		return false;
	}
	if (L.length <= i || i < 1) {
		return false;
	}
	for (int j = L.length; j > i; j--) {
		L.data[j + 1] = L.data[j];
	}
	L.data[i] = e;
	L.length++;
}

// GetElem (Location)
bool GetElem(SqList L, int i, int& e);

// LocateElem
int LocateElem(SqList L, int e);
*/